package cate.game.event.pointrace;

import cate.game.GameBody;
import cate.game.framework.advanced.AdvancedEventSource;
import cate.game.framework.advanced.AdvancedRoutingEvent;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.ToString;
import org.springframework.data.annotation.Transient;

@ToString(exclude = "gameBody")
@Data
public class PointRaceRwdEvent implements AdvancedRoutingEvent {

    @Transient
    @JsonIgnore
    private GameBody gameBody;

    private AdvancedEventSource eventType = AdvancedEventSource.LOCAL;

    public interface Handler {
        default void onRwdEvent(PointRaceRwdEvent rwdEvent) {
            
        }
    }
}
